package com.koron.common.core.business.weather.mapper;

import com.koron.common.core.business.weather.bean.QWeatherBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QWeatherBeanMapper {
    int deleteByPrimaryKey(String locationId);

    int insert(QWeatherBean record);

    int insertSelective(QWeatherBean record);

    QWeatherBean selectByPrimaryKey(String locationId);

    int updateByPrimaryKeySelective(QWeatherBean record);

    int updateByPrimaryKey(QWeatherBean record);

    int batchInsert(@Param("list") List<QWeatherBean> list);

    QWeatherBean findOneByLocationNameZh(@Param("locationNameZh")String locationNameZh);



}
